package com.foreknow.service;

import com.foreknow.entity.Scheduling;
import com.foreknow.entity.User;

import java.util.Date;
import java.util.List;

public interface SchedulingService {


    public List<Scheduling> querySchedulingForAll() throws Exception;

    public List<Scheduling> querySchedulingByTimeAndUserId(Date start , Date end, Integer userId) throws Exception;

    public List<Scheduling> querySchedulingForAll_inCurrentPage(String startdate, String enddate,
                                                                Integer pageSize, Integer currentPage) throws Exception;

    public int countBySchedulingExample(Date start, Date end) throws Exception;

    public int updateScheduling(Scheduling scheduling) throws Exception;

    public int addScheduling(Scheduling scheduling) throws Exception;

    public int deleteScheduling(Integer id) throws Exception;
}
